import React from 'react';
import CommonList from '../../../components/CommonLists/list';
import { Link } from 'react-router-dom';

class CheckList extends CommonList {
  constructor(props) {
    super(props);
    this.api = 'caseApi';
    this.detailLink = record => {
      return <Link to={'/case/check/' + record.case_id + '/detail'}>详情</Link>;
    };
    this.btnGroup = [this.detailLink];
    this.state = {
    };
    this.operatorWidth = '60px';
  }

  refreshTableFilter = params => {
    this.props.refreshTableFilter && this.props.refreshTableFilter(params);
  };
}

export default CheckList;
